class AddSignedOnToProjects < ActiveRecord::Migration
  def self.up
    add_column :projects, :signed_on, :date
    Project.all.each do |project|
      project.signed_on = Date.today
      project.save(false)
    end
  end

  def self.down
    remove_column :projects, :signed_on
  end
end
